<template>
  <div>
    <a v-bind:href="url">我是a标签</a>
    <img :src="src">
  </div>
</template>

<script>
export default {
   data () {
     return {
       url:"http://www.baidu.com",
       src:"./assets/xp.jpg"
     }
   }
}
</script>

<style>

</style>